home *** CD-ROM | disk | FTP | other *** search
- Short: New way to format strings (DOpus-like)
- Author: Wojciech Kocjan <kocjan@ka.onet.pl>
- Uploader: Wojciech Kocjan <kocjan@ka.onet.pl>
- Type: util/libs
-
- This library is intended to replace (not patch!) the exec/RawDoFmt()
- function by easier (for the user and developer). Instead of parsing only
- the type of field, you enter the string name (tag) and format optionally
- (defaults to %s). It uses RawDoFmt() for printf-like formatting of single
- string (tag). The format string can be anything and the application using
- newfmt.library will be able to select the characters responsible for
- beginning, slashing and ending of the tag. By default they are "{", "/" and
- "}". The tag consists of the following:
-
- {tag/format} ie. {f/s} {size/ld}
- | | | | |
- | | | | +--ending character
- | | | +-----formatting string (for RawDoFmt())
- | | +---------shash character
- | +-----------tag name (up to 4 characters)
- +-------------beginning character
-
- or
-
- {tag}
- | | |
- | | +--ending character
- | +----tag name (up to 4 characters)
- +------beginning character
-
- beginning character - usually "{", set by application
- tag name - is the "tag" for searching for the value
- slash character - used when you want to enter the format
- format - RawDoFmt() format, for more info see autodocs
- ending character - usually "}", set by application.
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 637 280 56.0% 13-Dec-97 16:56:00 newfmt.info
- 2349 1254 46.6% 10-Dec-97 05:15:26 +autodoc.info
- 3456 1220 64.6% 13-Dec-97 22:52:32 +newfmt.doc
- 2349 1249 46.8% 10-Dec-97 05:13:18 +fd.info
- 253 132 47.8% 13-Dec-97 22:49:22 +newfmt.fd
- 2349 1256 46.5% 10-Dec-97 05:15:22 +include.info
- 1054 330 68.6% 13-Dec-97 22:48:18 +newfmt_protos.h
- 519 213 58.9% 22-Nov-97 00:02:02 +newfmt.h
- 226 156 30.9% 10-Dec-97 05:30:12 +newfmt.i
- 539 261 51.5% 13-Dec-97 22:56:28 +newfmt_lib.i
- 368 117 68.2% 13-Dec-97 22:48:42 +newfmt_pragmas.h
- 180 127 29.4% 22-Nov-97 19:33:56 +newfmt.h
- 500 320 36.0% 13-Dec-97 22:54:10 +newfmt.lib
- 2428 1485 38.8% 13-Dec-97 22:46:06 +newfmt.library
- 1375 634 53.8% 13-Dec-97 16:44:24 +newfmt.readme
- 493 249 49.4% 13-Dec-97 16:46:06 +newfmt.readme.info
- -------- ------- ----- --------- --------
- 19075 9283 51.3% 29-Dec-97 23:19:44 16 files
-